package LeetCode刷题;

/**
 * @program: Java_Study
 * @author: Xiaofan
 * @createTime: 2021-11-05 15:17
 * @description: Functions of this class is
 * 官方题解：
 *
 *
 *
 * ***********关键就是自定排序规则*************
 *class Solution {
 *     public String minNumber(int[] nums) {
 *         String[] strs = new String[nums.length];
 *         for(int i = 0; i < nums.length; i++)
 *             strs[i] = String.valueOf(nums[i]);
 *         Arrays.sort(strs, (x, y) -> (x + y).compareTo(y + x));
 *         StringBuilder res = new StringBuilder();
 *         for(String s : strs)
 *             res.append(s);
 *         return res.toString();
 *     }
 * }
 **/
public class No把数组排成最小的数字 {

    public static void main(String args[]){

    }
}